package com.gmss.crawler.module.patent.mapper;

import com.gmss.crawler.module.patent.domain.Patent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 专利表 Mapper 接口
 * </p>
 *
 * @author Auto-generator
 * @since 2021-10-21
 */
public interface PatentMapper extends BaseMapper<Patent> {

    //@Select("SELECT p.patent_name,p.patent_type,p.patent_num,p.apply_num,p.apply_date,p.institute_standard,p.public_announcement_date,p.proposer,per.name FROM patent p LEFT JOIN person_info per ON p.person_id = per.id;")
    List<Patent> queryExportExcelData(Map<String, Object> queryMap);
}
